H2Scan 4799 Transformer communication driver

 

H2Scan 4799 Transformer communication driver is the driver to communicate with Hydrogen Analyzer of H2scan Corp. in U.S.A.

 

1. Read settings

 

<Figure 1> is read setting example of H2Scan 4799 Transformer communication driver. 

<Figure 1>  Read setting example of H2Scan 4799 Transformer communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of controller.

Also you can set 'One Packet Data Size¡¯ (200 ~ 3000, default : 166) by using option part.

 

H2Scan 4799 Transformer communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – don't care.

2) Read command – command = READ. ( Refer to <Table 1> )

3) Read start address – don't care.

4) Save start address for Communication Server – saveing start address of Communication Server.

5) Read size – read size, fixed to 1. ( refer to <Table 1> )

 

Note) H2Scan 4799 Transformer communication driver read the packet data that periodicaly send from controller. So, the communication driver don't send read request packet. 

H2Scan 4799 Transformer can set periodical sending data time by using 'V' command( 1 second unit ) at 'Write settings'.

 

Read schedule example) 

READ,     0,  READ,     0,    0,   1,

 

<Table 1> is data saving address and contents for READ command.

Data Saving Address

Contents

Start Add + 0

Time Sec value, readed total Time Sec value

Start Add + 1 ~ 3

readed Time Sec value, hour, minute, second

Start Add + 4

PCB Temperature value

Start Add + 5

Sensor Temperature value

Start Add + 6

ResAdc

Start Add + 7

AdjRes

¡¦

¡¦

<Table 1> Data saving address and contents for READ command

H2Scan 4799 Transformer GMPC II communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, STRING memory, but the data format are different.

 If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of  H2Scan 4799 Transformer communication driver¡¯s Option dialogue box

You can set read schedule by using , , button and listbox of <Figure 2>. 

One packet data size can set by using the part of 'One Packet Data Size' shown in <Figure 2>.

<Figure 3> Example of  H2Scan 4799 Transformer communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can set H2Scan 4799 Transformer by using write settings.

 

Digital Write

Digital write and analog write have the same setting parameters except output value. 

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS          Don't care.

4)  Extra1                   Write command =  ESC,      SP,      .,      ',      ;,      V. ( Refer to <Table 2> )

5)  Extra2                   Don't care.

 

<Table 2> is write command and contents of H2Scan 4799 Transformer communication driver.

Write command Contents
ESC Stops Continuous Display to Enter a Password or Command
SP Pressing The Space Key
. Display Current Status
¡® Append a User Comment to the End of Current Line
V Verbose Mode(1 Second Period) Enable/Disable
<Table 2> Write command and contents of H2Scan 4799 Transformer communication driver

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 :  .  EXTRA2 : 0

The setting parameter shown above is Display Current Status read example.

 

Write example 2)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 :  V  EXTRA2 : 0

The setting parameter shown above is Verbose Mode(1 Second Period) Enable(On)/Disable(Off) setting example.

 

Block Write

H2Scan 4799 Transformer communication driver don't support 'Block write'.

 

3. Connection of communication cable

 Connection of communication cable is as follows.

 

Connection of communication cable

Please connect serial communication cable to H2Scan 4799 Transformer such as <Figure 4>.

<Figure 4> is appearance of  H2Scan 4799 Transformer controller.

1.png
<Figure 4> Apperance of  H2Scan 4799 Transformer controller